import React, { Component } from 'react';

class Detail extends Component {
  render() {
    console.log(this.props.match.params.name);
    return (
      <div>
        <p>商品详情页面</p>
        <p>名称：{this.props.match.params.name}</p>
      </div>
    );
  }
}

export default Detail;
